#ifndef PARSER_HH_
# define PARSER_HH_

#include <string>

/** calling in loop lexer to get tokens
 ** treat tokens
 ** called only on command input, CHAT_DEFAULT_COMMAND_CHAR
 ** has been rmed though // sure about that ?
 **
 ** both Client && Server side
 */

class Parser
{
public:
  /** Ctor
   ** parses \param input
   ** \param input is the whole user's string
   */
  void Parser(std::string input);

  int execCmd();

private:
  std::string _input;
};

#endif /* !PARSER_HH_ */
